package dao;

import entity.Client;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by alexander.makalov on 23.10.2014.
 */
public interface ClientDAO {
    public void addClient(Client client) throws SQLException;
    public void updateClient(Client client) throws SQLException;
    public Client getClientById(Long id) throws SQLException;
    public List getAllClients() throws SQLException;
    public void saveAllClients(List<Client> clients);
    public void deleteClient(Client client) throws SQLException;
}
